package com.gimi.cloud.bbp.app.consumer.feign.product;

import com.gimi.cloud.bbp.dto.prod.EcProdCategoryDTO;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import feign.Headers;

/**
 * Created by hetianshou on 2018/01/18.
 */
@FeignClient(name = "bbp-app-service")
public interface ProdCategoryFeignService {

    /***商品品类操作开始***/
    @Headers({"Content-Type: application/json","Accept: application/json"})
    @RequestMapping(value = "category/firstGradeCategories", method = RequestMethod.POST)
	String firstGradeCategories();
    
    @Headers({"Content-Type: application/json","Accept: application/json"})
    @RequestMapping(value = "category/secondGradeCategories", method = RequestMethod.POST)
	String secondGradeCategories(EcProdCategoryDTO prodCategoryDTO);
    /***商品品类操作结束***/


}
